﻿namespace Smart.ERP
{
    using System;
    using System.Collections;
    using System.ComponentModel;

    public class PRODUCT_UNITCollection : CollectionBase
    {
        [Description("Adds a new PRODUCT_UNIT to the collection.")]
        public int Add(PRODUCT_UNIT item)
        {
            return base.List.Add(item);
        }

        [Description("Returns true if the PRODUCT_UNIT class is present in the collection.")]
        public bool Contains(PRODUCT_UNIT item)
        {
            return base.List.Contains(item);
        }

        [Description("Returns the index value of the BRANCH class in the collection.")]
        public int IndexOf(PRODUCT_UNIT item)
        {
            return base.List.IndexOf(item);
        }

        [Description("Inserts an PRODUCT_UNIT into the collection at the specified index..")]
        public void Inserts(int index, PRODUCT_UNIT item)
        {
            base.List.Insert(index, item);
        }

        [Description("Removes a PRODUCT_UNIT from the collection.")]
        public void Remove(PRODUCT_UNIT item)
        {
            base.List.Remove(item);
        }
    }
}

